//@author A0083782W
//This is the base class of UserCommand and PassedAction
#pragma once
#include "OperationType.h"
#include "Event.h"

class SingleAction {
public:
	SingleAction();
	virtual void reset();
	const Time& getActionTime() const;
	void setActionTime();
	const Event& getEvent() const;
	void setEvent(const Event& newEvent);
	OperationType getOperationType() const ;
	void setOperationType(OperationType newType);

protected:
	OperationType _myOptType;
	Event _myEvent;
	Time _actionTime;
};